<?php
/**
 * The template for displaying Search Results pages.
 *
 * @package WordPress
 * @subpackage Freshine
 * @since Freshine 1.1.0
 */
?>

<?php get_header(); ?>

	<div id="f9-mainbody" class="wrap">
		<div class="main clearfix">
			<?php get_sidebar( 'left' );?>
			<div id="f9-container" class="<?php f9_container_class() ?>">
            	<?php get_sidebar( 'content-top' );?>
				<div id="f9-content">
<?php if ( have_posts() ) : ?>
					<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'f9vn' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
					<?php get_template_part( 'content', get_post_format() ); ?>
<?php else : ?>
					<div id="post-0" class="post no-results not-found">
						<h2 class="entry-title"><?php _e( 'Nothing Found', 'f9vn' ); ?></h2>
						<div class="entry-content">
							<p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'f9vn' ); ?></p>
							<?php get_search_form(); ?>
						</div><!-- .entry-content -->
					</div><!-- #post-0 -->
<?php endif; ?>
				</div><!-- #f9-content -->
				<?php get_sidebar( 'content-bottom' );?>
			</div><!-- #f9-container -->
            <?php get_sidebar( 'right' );?>
		</div>
	</div><!-- #f9-mainbody -->

<?php get_footer(); ?>
